<!--#layout("/common/layout.html",{"jsBase":"/js/admin/role/"}){ -->
<form class="layui-form layui-form-pane">
	<div class="layui-row">
		<div class="layui-col-xs4" >
			<div class="site-block" style="height:500px;overflow:auto; ">
			<!--# 
				var roles = core.roles("R0");
				for(role in roles){
					if(userId ==1){
				-->
					<input type="radio" name="roleId" value="${role.id}" title="${role.name}" checked="" lay-filter="roleId"><br>
				<!--#
					}else{
                    	if(role.id !=1 ){
                -->
                    	<input type="radio" name="roleId" value="${role.id}" title="${role.name}" checked="" lay-filter="roleId"><br>
				<!--#	}
            		}
       			 }-->
			</div>
		</div>
		<div class="layui-col-xs8">
			<div id="dataAccess" class="site-block" style="height:500px;overflow:auto; ">
				
			</div>
		</div>
	</div>
</form>

<!--#} -->
<script>

layui.use(['roleData'], function(){
  var index = layui.roleData
  index.init();
});

</script>
